package com.lmq.observerMode;

public class obserm {
    public static void main(String[] args) {
        CurrentConditions currentConditions = new CurrentConditions();
        WeatherData weatherData = new WeatherData(currentConditions);

        weatherData.setData(30,150,40);
        System.out.println("=========天气变化了===============");
        weatherData.setData(20,130,40);

    }
}



